package com.gzy.cbrsystem.insomnia;

import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.springframework.context.ApplicationContext;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

/**
 * A data access object (DAO) providing persistence and search support for
 * ClinicalBit entities. Transaction control of the save(), update() and
 * delete() operations can directly support Spring container-managed
 * transactions or they can be augmented to handle user-managed Spring
 * transactions. Each of these methods provides additional information for how
 * to configure it for the desired type of transaction control.
 * 
 * @see com.gzy.cbrsystem.insomnia.ClinicalBit
 * @author MyEclipse Persistence Tools
 */

public class ClinicalBitDAO extends HibernateDaoSupport {
	private static final Log log = LogFactory.getLog(ClinicalBitDAO.class);
	// property constants
	public static final String BCTD1 = "bctd1";
	public static final String BCTD2 = "bctd2";
	public static final String BCTD3 = "bctd3";
	public static final String JWBS1 = "jwbs1";
	public static final String JWBS2 = "jwbs2";
	public static final String JWBS3 = "jwbs3";
	public static final String JWBS4 = "jwbs4";
	public static final String JWBS5 = "jwbs5";
	public static final String JWBS6 = "jwbs6";
	public static final String JWBS7 = "jwbs7";
	public static final String JWBS8 = "jwbs8";
	public static final String JWBS9 = "jwbs9";
	public static final String JWBS10 = "jwbs10";
	public static final String JWBS11 = "jwbs11";
	public static final String JWBS12 = "jwbs12";
	public static final String JWBS13 = "jwbs13";
	public static final String JWBS14 = "jwbs14";
	public static final String JWBS15 = "jwbs15";
	public static final String JWBS16 = "jwbs16";
	public static final String JWBS17 = "jwbs17";
	public static final String JWBS18 = "jwbs18";
	public static final String JWBS19 = "jwbs19";
	public static final String JWBS20 = "jwbs20";
	public static final String JWBS21 = "jwbs21";
	public static final String GRSTZ1 = "grstz1";
	public static final String GRSTZ2 = "grstz2";
	public static final String GRSTZ3 = "grstz3";
	public static final String GRSTZ4 = "grstz4";
	public static final String GRSTZ5 = "grstz5";
	public static final String GRSTZ6 = "grstz6";
	public static final String GRSTZ7 = "grstz7";
	public static final String GRSTZ8 = "grstz8";
	public static final String GRSTZ9 = "grstz9";
	public static final String GRSTZ10 = "grstz10";
	public static final String GRSTZ11 = "grstz11";
	public static final String GRSTZ12 = "grstz12";
	public static final String GRSTZ13 = "grstz13";
	public static final String GRSTZ14 = "grstz14";
	public static final String YJ1 = "yj1";
	public static final String YJ2 = "yj2";
	public static final String YJ3 = "yj3";
	public static final String CYJ1 = "cyj1";
	public static final String CYJ2 = "cyj2";
	public static final String CYJ3 = "cyj3";
	public static final String CYJ4 = "cyj4";
	public static final String YJSM1 = "yjsm1";
	public static final String YJSM2 = "yjsm2";
	public static final String YJSM3 = "yjsm3";
	public static final String XY1 = "xy1";
	public static final String XY2 = "xy2";
	public static final String XY3 = "xy3";
	public static final String XYSM1 = "xysm1";
	public static final String XYSM2 = "xysm2";
	public static final String XYSM3 = "xysm3";
	public static final String ZZTZ1 = "zztz1";
	public static final String ZZTZ2 = "zztz2";
	public static final String ZZTZ3 = "zztz3";
	public static final String ZZTZ4 = "zztz4";
	public static final String ZZTZ5 = "zztz5";
	public static final String ZZTZ6 = "zztz6";
	public static final String ZZTZ7 = "zztz7";
	public static final String JSQX1 = "jsqx1";
	public static final String JSQX2 = "jsqx2";
	public static final String JSQX3 = "jsqx3";
	public static final String JSQX4 = "jsqx4";
	public static final String JSQX5 = "jsqx5";
	public static final String JSQX6 = "jsqx6";
	public static final String JSQX7 = "jsqx7";
	public static final String JSQX8 = "jsqx8";
	public static final String JSQX9 = "jsqx9";
	public static final String JSQX10 = "jsqx10";
	public static final String JSQX11 = "jsqx11";
	public static final String JSQX12 = "jsqx12";
	public static final String JSQX13 = "jsqx13";
	public static final String JSQX14 = "jsqx14";
	public static final String JSQX15 = "jsqx15";
	public static final String JSQX16 = "jsqx16";
	public static final String JSQX17 = "jsqx17";
	public static final String JSQX18 = "jsqx18";
	public static final String JSQX19 = "jsqx19";
	public static final String TX1 = "tx1";
	public static final String TX2 = "tx2";
	public static final String TX3 = "tx3";
	public static final String TMWG1 = "tmwg1";
	public static final String TMWG2 = "tmwg2";
	public static final String TMWG3 = "tmwg3";
	public static final String TMWG4 = "tmwg4";
	public static final String TMWG5 = "tmwg5";
	public static final String TMWG6 = "tmwg6";
	public static final String TMWG7 = "tmwg7";
	public static final String TMWG8 = "tmwg8";
	public static final String TMWG9 = "tmwg9";
	public static final String TMWG10 = "tmwg10";
	public static final String TMWG11 = "tmwg11";
	public static final String TMWG12 = "tmwg12";
	public static final String TMWG13 = "tmwg13";
	public static final String TMWG14 = "tmwg14";
	public static final String TMWG15 = "tmwg15";
	public static final String TXSP1 = "txsp1";
	public static final String TXSP2 = "txsp2";
	public static final String TXSP3 = "txsp3";
	public static final String TXSP4 = "txsp4";
	public static final String TXSP5 = "txsp5";
	public static final String TXSP6 = "txsp6";
	public static final String TXSP7 = "txsp7";
	public static final String TXSP8 = "txsp8";
	public static final String TXSP9 = "txsp9";
	public static final String TXSP10 = "txsp10";
	public static final String TXSP11 = "txsp11";
	public static final String TXSP12 = "txsp12";
	public static final String TXSP13 = "txsp13";
	public static final String TXSP14 = "txsp14";
	public static final String TXSP15 = "txsp15";
	public static final String TXSP16 = "txsp16";
	public static final String TXSP17 = "txsp17";
	public static final String TXSP18 = "txsp18";
	public static final String TXSP19 = "txsp19";
	public static final String TXSP20 = "txsp20";
	public static final String TXSP21 = "txsp21";
	public static final String TXSP22 = "txsp22";
	public static final String TXSP23 = "txsp23";
	public static final String TXSP24 = "txsp24";
	public static final String TXSP25 = "txsp25";
	public static final String TXSP26 = "txsp26";
	public static final String TXSP27 = "txsp27";
	public static final String TXSP28 = "txsp28";
	public static final String TXSP29 = "txsp29";
	public static final String HRZZ1 = "hrzz1";
	public static final String HRZZ2 = "hrzz2";
	public static final String HRZZ3 = "hrzz3";
	public static final String HRZZ4 = "hrzz4";
	public static final String HRZZ5 = "hrzz5";
	public static final String HRZZ6 = "hrzz6";
	public static final String HRZZ7 = "hrzz7";
	public static final String YSKW1 = "yskw1";
	public static final String YSKW2 = "yskw2";
	public static final String YSKW3 = "yskw3";
	public static final String YSKW4 = "yskw4";
	public static final String YSKW5 = "yskw5";
	public static final String YSKW6 = "yskw6";
	public static final String YSKW7 = "yskw7";
	public static final String YSKW8 = "yskw8";
	public static final String YSKW9 = "yskw9";
	public static final String HCTY1 = "hcty1";
	public static final String HCTY2 = "hcty2";
	public static final String HCTY3 = "hcty3";
	public static final String HCTY4 = "hcty4";
	public static final String HCTY5 = "hcty5";
	public static final String HCTY6 = "hcty6";
	public static final String HCTY7 = "hcty7";
	public static final String HCTY8 = "hcty8";
	public static final String HCTY9 = "hcty9";
	public static final String HCTY10 = "hcty10";
	public static final String YYSY1 = "yysy1";
	public static final String YYSY2 = "yysy2";
	public static final String YYSY3 = "yysy3";
	public static final String YYSY4 = "yysy4";
	public static final String YYSY5 = "yysy5";
	public static final String YYSY6 = "yysy6";
	public static final String DXBY1 = "dxby1";
	public static final String DXBY2 = "dxby2";
	public static final String DXBY3 = "dxby3";
	public static final String DXBY4 = "dxby4";
	public static final String DXBY5 = "dxby5";
	public static final String DXBY6 = "dxby6";
	public static final String DXBY7 = "dxby7";
	public static final String DXBY8 = "dxby8";
	public static final String DXBY9 = "dxby9";
	public static final String DXBY10 = "dxby10";
	public static final String DXBY11 = "dxby11";
	public static final String DXBY12 = "dxby12";
	public static final String DXBY13 = "dxby13";
	public static final String DXBY14 = "dxby14";
	public static final String DXBY15 = "dxby15";
	public static final String DXBY16 = "dxby16";
	public static final String DXBY17 = "dxby17";
	public static final String DXBY18 = "dxby18";
	public static final String DXBY19 = "dxby19";
	public static final String DXBY20 = "dxby20";
	public static final String DXBY21 = "dxby21";
	public static final String BSZ1 = "bsz1";
	public static final String BSZ2 = "bsz2";
	public static final String BSZ3 = "bsz3";
	public static final String BSZ4 = "bsz4";
	public static final String BSZ5 = "bsz5";
	public static final String BSZ6 = "bsz6";
	public static final String BSZ7 = "bsz7";
	public static final String BSZ8 = "bsz8";
	public static final String BSZ9 = "bsz9";
	public static final String BSZ10 = "bsz10";
	public static final String BSZ11 = "bsz11";
	public static final String BSZ12 = "bsz12";
	public static final String BSTI1 = "bsti1";
	public static final String BSTI2 = "bsti2";
	public static final String BSTI3 = "bsti3";
	public static final String BSTI4 = "bsti4";
	public static final String BSTI5 = "bsti5";
	public static final String BSTI6 = "bsti6";
	public static final String BSTAI1 = "bstai1";
	public static final String BSTAI2 = "bstai2";
	public static final String BSTAI3 = "bstai3";
	public static final String BSTAI4 = "bstai4";
	public static final String BSTAI5 = "bstai5";
	public static final String BSTAI6 = "bstai6";
	public static final String BSTAI7 = "bstai7";
	public static final String BSTAI8 = "bstai8";
	public static final String BSTAI9 = "bstai9";
	public static final String BSTAI10 = "bstai10";
	public static final String BSTAI11 = "bstai11";
	public static final String BSTAI12 = "bstai12";
	public static final String BSTAI13 = "bstai13";
	public static final String BSTAI14 = "bstai14";
	public static final String SDML1 = "sdml1";
	public static final String SDML2 = "sdml2";
	public static final String JBMX1 = "jbmx1";
	public static final String JBMX2 = "jbmx2";
	public static final String JBMX3 = "jbmx3";
	public static final String JBMX4 = "jbmx4";
	public static final String JBMX5 = "jbmx5";
	public static final String JBMX6 = "jbmx6";
	public static final String JBMX7 = "jbmx7";
	public static final String JBMX8 = "jbmx8";
	public static final String JBMX9 = "jbmx9";
	public static final String JBMX10 = "jbmx10";
	public static final String JBMX11 = "jbmx11";
	public static final String JBMX12 = "jbmx12";
	public static final String JBMX13 = "jbmx13";
	public static final String JBMX14 = "jbmx14";
	public static final String JBMX15 = "jbmx15";
	public static final String JBMX16 = "jbmx16";
	public static final String JBMX17 = "jbmx17";
	public static final String JBMX18 = "jbmx18";

	protected void initDao() {
		// do nothing
	}

	public void save(ClinicalBit transientInstance) {
		log.debug("saving ClinicalBit instance");
		try {
			getHibernateTemplate().save(transientInstance);
			log.debug("save successful");
		} catch (RuntimeException re) {
			log.error("save failed", re);
			throw re;
		}
	}

	public void delete(ClinicalBit persistentInstance) {
		log.debug("deleting ClinicalBit instance");
		try {
			getHibernateTemplate().delete(persistentInstance);
			log.debug("delete successful");
		} catch (RuntimeException re) {
			log.error("delete failed", re);
			throw re;
		}
	}

	public ClinicalBit findById(java.lang.String id) {
		log.debug("getting ClinicalBit instance with id: " + id);
		try {
			ClinicalBit instance = (ClinicalBit) getHibernateTemplate().get(
					"com.gzy.cbrsystem.insomnia.ClinicalBit", id);
			return instance;
		} catch (RuntimeException re) {
			log.error("get failed", re);
			throw re;
		}
	}

	public List findByExample(ClinicalBit instance) {
		log.debug("finding ClinicalBit instance by example");
		try {
			List results = getHibernateTemplate().findByExample(instance);
			log.debug("find by example successful, result size: "
					+ results.size());
			return results;
		} catch (RuntimeException re) {
			log.error("find by example failed", re);
			throw re;
		}
	}

	public List findByProperty(String propertyName, Object value) {
		log.debug("finding ClinicalBit instance with property: " + propertyName
				+ ", value: " + value);
		try {
			String queryString = "from ClinicalBit as model where model."
					+ propertyName + "= ?";
			return getHibernateTemplate().find(queryString, value);
		} catch (RuntimeException re) {
			log.error("find by property name failed", re);
			throw re;
		}
	}

	public List findByBctd1(Object bctd1) {
		return findByProperty(BCTD1, bctd1);
	}

	public List findByBctd2(Object bctd2) {
		return findByProperty(BCTD2, bctd2);
	}

	public List findByBctd3(Object bctd3) {
		return findByProperty(BCTD3, bctd3);
	}

	public List findByJwbs1(Object jwbs1) {
		return findByProperty(JWBS1, jwbs1);
	}

	public List findByJwbs2(Object jwbs2) {
		return findByProperty(JWBS2, jwbs2);
	}

	public List findByJwbs3(Object jwbs3) {
		return findByProperty(JWBS3, jwbs3);
	}

	public List findByJwbs4(Object jwbs4) {
		return findByProperty(JWBS4, jwbs4);
	}

	public List findByJwbs5(Object jwbs5) {
		return findByProperty(JWBS5, jwbs5);
	}

	public List findByJwbs6(Object jwbs6) {
		return findByProperty(JWBS6, jwbs6);
	}

	public List findByJwbs7(Object jwbs7) {
		return findByProperty(JWBS7, jwbs7);
	}

	public List findByJwbs8(Object jwbs8) {
		return findByProperty(JWBS8, jwbs8);
	}

	public List findByJwbs9(Object jwbs9) {
		return findByProperty(JWBS9, jwbs9);
	}

	public List findByJwbs10(Object jwbs10) {
		return findByProperty(JWBS10, jwbs10);
	}

	public List findByJwbs11(Object jwbs11) {
		return findByProperty(JWBS11, jwbs11);
	}

	public List findByJwbs12(Object jwbs12) {
		return findByProperty(JWBS12, jwbs12);
	}

	public List findByJwbs13(Object jwbs13) {
		return findByProperty(JWBS13, jwbs13);
	}

	public List findByJwbs14(Object jwbs14) {
		return findByProperty(JWBS14, jwbs14);
	}

	public List findByJwbs15(Object jwbs15) {
		return findByProperty(JWBS15, jwbs15);
	}

	public List findByJwbs16(Object jwbs16) {
		return findByProperty(JWBS16, jwbs16);
	}

	public List findByJwbs17(Object jwbs17) {
		return findByProperty(JWBS17, jwbs17);
	}

	public List findByJwbs18(Object jwbs18) {
		return findByProperty(JWBS18, jwbs18);
	}

	public List findByJwbs19(Object jwbs19) {
		return findByProperty(JWBS19, jwbs19);
	}

	public List findByJwbs20(Object jwbs20) {
		return findByProperty(JWBS20, jwbs20);
	}

	public List findByJwbs21(Object jwbs21) {
		return findByProperty(JWBS21, jwbs21);
	}

	public List findByGrstz1(Object grstz1) {
		return findByProperty(GRSTZ1, grstz1);
	}

	public List findByGrstz2(Object grstz2) {
		return findByProperty(GRSTZ2, grstz2);
	}

	public List findByGrstz3(Object grstz3) {
		return findByProperty(GRSTZ3, grstz3);
	}

	public List findByGrstz4(Object grstz4) {
		return findByProperty(GRSTZ4, grstz4);
	}

	public List findByGrstz5(Object grstz5) {
		return findByProperty(GRSTZ5, grstz5);
	}

	public List findByGrstz6(Object grstz6) {
		return findByProperty(GRSTZ6, grstz6);
	}

	public List findByGrstz7(Object grstz7) {
		return findByProperty(GRSTZ7, grstz7);
	}

	public List findByGrstz8(Object grstz8) {
		return findByProperty(GRSTZ8, grstz8);
	}

	public List findByGrstz9(Object grstz9) {
		return findByProperty(GRSTZ9, grstz9);
	}

	public List findByGrstz10(Object grstz10) {
		return findByProperty(GRSTZ10, grstz10);
	}

	public List findByGrstz11(Object grstz11) {
		return findByProperty(GRSTZ11, grstz11);
	}

	public List findByGrstz12(Object grstz12) {
		return findByProperty(GRSTZ12, grstz12);
	}

	public List findByGrstz13(Object grstz13) {
		return findByProperty(GRSTZ13, grstz13);
	}

	public List findByGrstz14(Object grstz14) {
		return findByProperty(GRSTZ14, grstz14);
	}

	public List findByYj1(Object yj1) {
		return findByProperty(YJ1, yj1);
	}

	public List findByYj2(Object yj2) {
		return findByProperty(YJ2, yj2);
	}

	public List findByYj3(Object yj3) {
		return findByProperty(YJ3, yj3);
	}

	public List findByCyj1(Object cyj1) {
		return findByProperty(CYJ1, cyj1);
	}

	public List findByCyj2(Object cyj2) {
		return findByProperty(CYJ2, cyj2);
	}

	public List findByCyj3(Object cyj3) {
		return findByProperty(CYJ3, cyj3);
	}

	public List findByCyj4(Object cyj4) {
		return findByProperty(CYJ4, cyj4);
	}

	public List findByYjsm1(Object yjsm1) {
		return findByProperty(YJSM1, yjsm1);
	}

	public List findByYjsm2(Object yjsm2) {
		return findByProperty(YJSM2, yjsm2);
	}

	public List findByYjsm3(Object yjsm3) {
		return findByProperty(YJSM3, yjsm3);
	}

	public List findByXy1(Object xy1) {
		return findByProperty(XY1, xy1);
	}

	public List findByXy2(Object xy2) {
		return findByProperty(XY2, xy2);
	}

	public List findByXy3(Object xy3) {
		return findByProperty(XY3, xy3);
	}

	public List findByXysm1(Object xysm1) {
		return findByProperty(XYSM1, xysm1);
	}

	public List findByXysm2(Object xysm2) {
		return findByProperty(XYSM2, xysm2);
	}

	public List findByXysm3(Object xysm3) {
		return findByProperty(XYSM3, xysm3);
	}

	public List findByZztz1(Object zztz1) {
		return findByProperty(ZZTZ1, zztz1);
	}

	public List findByZztz2(Object zztz2) {
		return findByProperty(ZZTZ2, zztz2);
	}

	public List findByZztz3(Object zztz3) {
		return findByProperty(ZZTZ3, zztz3);
	}

	public List findByZztz4(Object zztz4) {
		return findByProperty(ZZTZ4, zztz4);
	}

	public List findByZztz5(Object zztz5) {
		return findByProperty(ZZTZ5, zztz5);
	}

	public List findByZztz6(Object zztz6) {
		return findByProperty(ZZTZ6, zztz6);
	}

	public List findByZztz7(Object zztz7) {
		return findByProperty(ZZTZ7, zztz7);
	}

	public List findByJsqx1(Object jsqx1) {
		return findByProperty(JSQX1, jsqx1);
	}

	public List findByJsqx2(Object jsqx2) {
		return findByProperty(JSQX2, jsqx2);
	}

	public List findByJsqx3(Object jsqx3) {
		return findByProperty(JSQX3, jsqx3);
	}

	public List findByJsqx4(Object jsqx4) {
		return findByProperty(JSQX4, jsqx4);
	}

	public List findByJsqx5(Object jsqx5) {
		return findByProperty(JSQX5, jsqx5);
	}

	public List findByJsqx6(Object jsqx6) {
		return findByProperty(JSQX6, jsqx6);
	}

	public List findByJsqx7(Object jsqx7) {
		return findByProperty(JSQX7, jsqx7);
	}

	public List findByJsqx8(Object jsqx8) {
		return findByProperty(JSQX8, jsqx8);
	}

	public List findByJsqx9(Object jsqx9) {
		return findByProperty(JSQX9, jsqx9);
	}

	public List findByJsqx10(Object jsqx10) {
		return findByProperty(JSQX10, jsqx10);
	}

	public List findByJsqx11(Object jsqx11) {
		return findByProperty(JSQX11, jsqx11);
	}

	public List findByJsqx12(Object jsqx12) {
		return findByProperty(JSQX12, jsqx12);
	}

	public List findByJsqx13(Object jsqx13) {
		return findByProperty(JSQX13, jsqx13);
	}

	public List findByJsqx14(Object jsqx14) {
		return findByProperty(JSQX14, jsqx14);
	}

	public List findByJsqx15(Object jsqx15) {
		return findByProperty(JSQX15, jsqx15);
	}

	public List findByJsqx16(Object jsqx16) {
		return findByProperty(JSQX16, jsqx16);
	}

	public List findByJsqx17(Object jsqx17) {
		return findByProperty(JSQX17, jsqx17);
	}

	public List findByJsqx18(Object jsqx18) {
		return findByProperty(JSQX18, jsqx18);
	}

	public List findByJsqx19(Object jsqx19) {
		return findByProperty(JSQX19, jsqx19);
	}

	public List findByTx1(Object tx1) {
		return findByProperty(TX1, tx1);
	}

	public List findByTx2(Object tx2) {
		return findByProperty(TX2, tx2);
	}

	public List findByTx3(Object tx3) {
		return findByProperty(TX3, tx3);
	}

	public List findByTmwg1(Object tmwg1) {
		return findByProperty(TMWG1, tmwg1);
	}

	public List findByTmwg2(Object tmwg2) {
		return findByProperty(TMWG2, tmwg2);
	}

	public List findByTmwg3(Object tmwg3) {
		return findByProperty(TMWG3, tmwg3);
	}

	public List findByTmwg4(Object tmwg4) {
		return findByProperty(TMWG4, tmwg4);
	}

	public List findByTmwg5(Object tmwg5) {
		return findByProperty(TMWG5, tmwg5);
	}

	public List findByTmwg6(Object tmwg6) {
		return findByProperty(TMWG6, tmwg6);
	}

	public List findByTmwg7(Object tmwg7) {
		return findByProperty(TMWG7, tmwg7);
	}

	public List findByTmwg8(Object tmwg8) {
		return findByProperty(TMWG8, tmwg8);
	}

	public List findByTmwg9(Object tmwg9) {
		return findByProperty(TMWG9, tmwg9);
	}

	public List findByTmwg10(Object tmwg10) {
		return findByProperty(TMWG10, tmwg10);
	}

	public List findByTmwg11(Object tmwg11) {
		return findByProperty(TMWG11, tmwg11);
	}

	public List findByTmwg12(Object tmwg12) {
		return findByProperty(TMWG12, tmwg12);
	}

	public List findByTmwg13(Object tmwg13) {
		return findByProperty(TMWG13, tmwg13);
	}

	public List findByTmwg14(Object tmwg14) {
		return findByProperty(TMWG14, tmwg14);
	}

	public List findByTmwg15(Object tmwg15) {
		return findByProperty(TMWG15, tmwg15);
	}

	public List findByTxsp1(Object txsp1) {
		return findByProperty(TXSP1, txsp1);
	}

	public List findByTxsp2(Object txsp2) {
		return findByProperty(TXSP2, txsp2);
	}

	public List findByTxsp3(Object txsp3) {
		return findByProperty(TXSP3, txsp3);
	}

	public List findByTxsp4(Object txsp4) {
		return findByProperty(TXSP4, txsp4);
	}

	public List findByTxsp5(Object txsp5) {
		return findByProperty(TXSP5, txsp5);
	}

	public List findByTxsp6(Object txsp6) {
		return findByProperty(TXSP6, txsp6);
	}

	public List findByTxsp7(Object txsp7) {
		return findByProperty(TXSP7, txsp7);
	}

	public List findByTxsp8(Object txsp8) {
		return findByProperty(TXSP8, txsp8);
	}

	public List findByTxsp9(Object txsp9) {
		return findByProperty(TXSP9, txsp9);
	}

	public List findByTxsp10(Object txsp10) {
		return findByProperty(TXSP10, txsp10);
	}

	public List findByTxsp11(Object txsp11) {
		return findByProperty(TXSP11, txsp11);
	}

	public List findByTxsp12(Object txsp12) {
		return findByProperty(TXSP12, txsp12);
	}

	public List findByTxsp13(Object txsp13) {
		return findByProperty(TXSP13, txsp13);
	}

	public List findByTxsp14(Object txsp14) {
		return findByProperty(TXSP14, txsp14);
	}

	public List findByTxsp15(Object txsp15) {
		return findByProperty(TXSP15, txsp15);
	}

	public List findByTxsp16(Object txsp16) {
		return findByProperty(TXSP16, txsp16);
	}

	public List findByTxsp17(Object txsp17) {
		return findByProperty(TXSP17, txsp17);
	}

	public List findByTxsp18(Object txsp18) {
		return findByProperty(TXSP18, txsp18);
	}

	public List findByTxsp19(Object txsp19) {
		return findByProperty(TXSP19, txsp19);
	}

	public List findByTxsp20(Object txsp20) {
		return findByProperty(TXSP20, txsp20);
	}

	public List findByTxsp21(Object txsp21) {
		return findByProperty(TXSP21, txsp21);
	}

	public List findByTxsp22(Object txsp22) {
		return findByProperty(TXSP22, txsp22);
	}

	public List findByTxsp23(Object txsp23) {
		return findByProperty(TXSP23, txsp23);
	}

	public List findByTxsp24(Object txsp24) {
		return findByProperty(TXSP24, txsp24);
	}

	public List findByTxsp25(Object txsp25) {
		return findByProperty(TXSP25, txsp25);
	}

	public List findByTxsp26(Object txsp26) {
		return findByProperty(TXSP26, txsp26);
	}

	public List findByTxsp27(Object txsp27) {
		return findByProperty(TXSP27, txsp27);
	}

	public List findByTxsp28(Object txsp28) {
		return findByProperty(TXSP28, txsp28);
	}

	public List findByTxsp29(Object txsp29) {
		return findByProperty(TXSP29, txsp29);
	}

	public List findByHrzz1(Object hrzz1) {
		return findByProperty(HRZZ1, hrzz1);
	}

	public List findByHrzz2(Object hrzz2) {
		return findByProperty(HRZZ2, hrzz2);
	}

	public List findByHrzz3(Object hrzz3) {
		return findByProperty(HRZZ3, hrzz3);
	}

	public List findByHrzz4(Object hrzz4) {
		return findByProperty(HRZZ4, hrzz4);
	}

	public List findByHrzz5(Object hrzz5) {
		return findByProperty(HRZZ5, hrzz5);
	}

	public List findByHrzz6(Object hrzz6) {
		return findByProperty(HRZZ6, hrzz6);
	}

	public List findByHrzz7(Object hrzz7) {
		return findByProperty(HRZZ7, hrzz7);
	}

	public List findByYskw1(Object yskw1) {
		return findByProperty(YSKW1, yskw1);
	}

	public List findByYskw2(Object yskw2) {
		return findByProperty(YSKW2, yskw2);
	}

	public List findByYskw3(Object yskw3) {
		return findByProperty(YSKW3, yskw3);
	}

	public List findByYskw4(Object yskw4) {
		return findByProperty(YSKW4, yskw4);
	}

	public List findByYskw5(Object yskw5) {
		return findByProperty(YSKW5, yskw5);
	}

	public List findByYskw6(Object yskw6) {
		return findByProperty(YSKW6, yskw6);
	}

	public List findByYskw7(Object yskw7) {
		return findByProperty(YSKW7, yskw7);
	}

	public List findByYskw8(Object yskw8) {
		return findByProperty(YSKW8, yskw8);
	}

	public List findByYskw9(Object yskw9) {
		return findByProperty(YSKW9, yskw9);
	}

	public List findByHcty1(Object hcty1) {
		return findByProperty(HCTY1, hcty1);
	}

	public List findByHcty2(Object hcty2) {
		return findByProperty(HCTY2, hcty2);
	}

	public List findByHcty3(Object hcty3) {
		return findByProperty(HCTY3, hcty3);
	}

	public List findByHcty4(Object hcty4) {
		return findByProperty(HCTY4, hcty4);
	}

	public List findByHcty5(Object hcty5) {
		return findByProperty(HCTY5, hcty5);
	}

	public List findByHcty6(Object hcty6) {
		return findByProperty(HCTY6, hcty6);
	}

	public List findByHcty7(Object hcty7) {
		return findByProperty(HCTY7, hcty7);
	}

	public List findByHcty8(Object hcty8) {
		return findByProperty(HCTY8, hcty8);
	}

	public List findByHcty9(Object hcty9) {
		return findByProperty(HCTY9, hcty9);
	}

	public List findByHcty10(Object hcty10) {
		return findByProperty(HCTY10, hcty10);
	}

	public List findByYysy1(Object yysy1) {
		return findByProperty(YYSY1, yysy1);
	}

	public List findByYysy2(Object yysy2) {
		return findByProperty(YYSY2, yysy2);
	}

	public List findByYysy3(Object yysy3) {
		return findByProperty(YYSY3, yysy3);
	}

	public List findByYysy4(Object yysy4) {
		return findByProperty(YYSY4, yysy4);
	}

	public List findByYysy5(Object yysy5) {
		return findByProperty(YYSY5, yysy5);
	}

	public List findByYysy6(Object yysy6) {
		return findByProperty(YYSY6, yysy6);
	}

	public List findByDxby1(Object dxby1) {
		return findByProperty(DXBY1, dxby1);
	}

	public List findByDxby2(Object dxby2) {
		return findByProperty(DXBY2, dxby2);
	}

	public List findByDxby3(Object dxby3) {
		return findByProperty(DXBY3, dxby3);
	}

	public List findByDxby4(Object dxby4) {
		return findByProperty(DXBY4, dxby4);
	}

	public List findByDxby5(Object dxby5) {
		return findByProperty(DXBY5, dxby5);
	}

	public List findByDxby6(Object dxby6) {
		return findByProperty(DXBY6, dxby6);
	}

	public List findByDxby7(Object dxby7) {
		return findByProperty(DXBY7, dxby7);
	}

	public List findByDxby8(Object dxby8) {
		return findByProperty(DXBY8, dxby8);
	}

	public List findByDxby9(Object dxby9) {
		return findByProperty(DXBY9, dxby9);
	}

	public List findByDxby10(Object dxby10) {
		return findByProperty(DXBY10, dxby10);
	}

	public List findByDxby11(Object dxby11) {
		return findByProperty(DXBY11, dxby11);
	}

	public List findByDxby12(Object dxby12) {
		return findByProperty(DXBY12, dxby12);
	}

	public List findByDxby13(Object dxby13) {
		return findByProperty(DXBY13, dxby13);
	}

	public List findByDxby14(Object dxby14) {
		return findByProperty(DXBY14, dxby14);
	}

	public List findByDxby15(Object dxby15) {
		return findByProperty(DXBY15, dxby15);
	}

	public List findByDxby16(Object dxby16) {
		return findByProperty(DXBY16, dxby16);
	}

	public List findByDxby17(Object dxby17) {
		return findByProperty(DXBY17, dxby17);
	}

	public List findByDxby18(Object dxby18) {
		return findByProperty(DXBY18, dxby18);
	}

	public List findByDxby19(Object dxby19) {
		return findByProperty(DXBY19, dxby19);
	}

	public List findByDxby20(Object dxby20) {
		return findByProperty(DXBY20, dxby20);
	}

	public List findByDxby21(Object dxby21) {
		return findByProperty(DXBY21, dxby21);
	}

	public List findByBsz1(Object bsz1) {
		return findByProperty(BSZ1, bsz1);
	}

	public List findByBsz2(Object bsz2) {
		return findByProperty(BSZ2, bsz2);
	}

	public List findByBsz3(Object bsz3) {
		return findByProperty(BSZ3, bsz3);
	}

	public List findByBsz4(Object bsz4) {
		return findByProperty(BSZ4, bsz4);
	}

	public List findByBsz5(Object bsz5) {
		return findByProperty(BSZ5, bsz5);
	}

	public List findByBsz6(Object bsz6) {
		return findByProperty(BSZ6, bsz6);
	}

	public List findByBsz7(Object bsz7) {
		return findByProperty(BSZ7, bsz7);
	}

	public List findByBsz8(Object bsz8) {
		return findByProperty(BSZ8, bsz8);
	}

	public List findByBsz9(Object bsz9) {
		return findByProperty(BSZ9, bsz9);
	}

	public List findByBsz10(Object bsz10) {
		return findByProperty(BSZ10, bsz10);
	}

	public List findByBsz11(Object bsz11) {
		return findByProperty(BSZ11, bsz11);
	}

	public List findByBsz12(Object bsz12) {
		return findByProperty(BSZ12, bsz12);
	}

	public List findByBsti1(Object bsti1) {
		return findByProperty(BSTI1, bsti1);
	}

	public List findByBsti2(Object bsti2) {
		return findByProperty(BSTI2, bsti2);
	}

	public List findByBsti3(Object bsti3) {
		return findByProperty(BSTI3, bsti3);
	}

	public List findByBsti4(Object bsti4) {
		return findByProperty(BSTI4, bsti4);
	}

	public List findByBsti5(Object bsti5) {
		return findByProperty(BSTI5, bsti5);
	}

	public List findByBsti6(Object bsti6) {
		return findByProperty(BSTI6, bsti6);
	}

	public List findByBstai1(Object bstai1) {
		return findByProperty(BSTAI1, bstai1);
	}

	public List findByBstai2(Object bstai2) {
		return findByProperty(BSTAI2, bstai2);
	}

	public List findByBstai3(Object bstai3) {
		return findByProperty(BSTAI3, bstai3);
	}

	public List findByBstai4(Object bstai4) {
		return findByProperty(BSTAI4, bstai4);
	}

	public List findByBstai5(Object bstai5) {
		return findByProperty(BSTAI5, bstai5);
	}

	public List findByBstai6(Object bstai6) {
		return findByProperty(BSTAI6, bstai6);
	}

	public List findByBstai7(Object bstai7) {
		return findByProperty(BSTAI7, bstai7);
	}

	public List findByBstai8(Object bstai8) {
		return findByProperty(BSTAI8, bstai8);
	}

	public List findByBstai9(Object bstai9) {
		return findByProperty(BSTAI9, bstai9);
	}

	public List findByBstai10(Object bstai10) {
		return findByProperty(BSTAI10, bstai10);
	}

	public List findByBstai11(Object bstai11) {
		return findByProperty(BSTAI11, bstai11);
	}

	public List findByBstai12(Object bstai12) {
		return findByProperty(BSTAI12, bstai12);
	}

	public List findByBstai13(Object bstai13) {
		return findByProperty(BSTAI13, bstai13);
	}

	public List findByBstai14(Object bstai14) {
		return findByProperty(BSTAI14, bstai14);
	}

	public List findBySdml1(Object sdml1) {
		return findByProperty(SDML1, sdml1);
	}

	public List findBySdml2(Object sdml2) {
		return findByProperty(SDML2, sdml2);
	}

	public List findByJbmx1(Object jbmx1) {
		return findByProperty(JBMX1, jbmx1);
	}

	public List findByJbmx2(Object jbmx2) {
		return findByProperty(JBMX2, jbmx2);
	}

	public List findByJbmx3(Object jbmx3) {
		return findByProperty(JBMX3, jbmx3);
	}

	public List findByJbmx4(Object jbmx4) {
		return findByProperty(JBMX4, jbmx4);
	}

	public List findByJbmx5(Object jbmx5) {
		return findByProperty(JBMX5, jbmx5);
	}

	public List findByJbmx6(Object jbmx6) {
		return findByProperty(JBMX6, jbmx6);
	}

	public List findByJbmx7(Object jbmx7) {
		return findByProperty(JBMX7, jbmx7);
	}

	public List findByJbmx8(Object jbmx8) {
		return findByProperty(JBMX8, jbmx8);
	}

	public List findByJbmx9(Object jbmx9) {
		return findByProperty(JBMX9, jbmx9);
	}

	public List findByJbmx10(Object jbmx10) {
		return findByProperty(JBMX10, jbmx10);
	}

	public List findByJbmx11(Object jbmx11) {
		return findByProperty(JBMX11, jbmx11);
	}

	public List findByJbmx12(Object jbmx12) {
		return findByProperty(JBMX12, jbmx12);
	}

	public List findByJbmx13(Object jbmx13) {
		return findByProperty(JBMX13, jbmx13);
	}

	public List findByJbmx14(Object jbmx14) {
		return findByProperty(JBMX14, jbmx14);
	}

	public List findByJbmx15(Object jbmx15) {
		return findByProperty(JBMX15, jbmx15);
	}

	public List findByJbmx16(Object jbmx16) {
		return findByProperty(JBMX16, jbmx16);
	}

	public List findByJbmx17(Object jbmx17) {
		return findByProperty(JBMX17, jbmx17);
	}

	public List findByJbmx18(Object jbmx18) {
		return findByProperty(JBMX18, jbmx18);
	}

	public List findAll() {
		log.debug("finding all ClinicalBit instances");
		try {
			String queryString = "from ClinicalBit";
			return getHibernateTemplate().find(queryString);
		} catch (RuntimeException re) {
			log.error("find all failed", re);
			throw re;
		}
	}

	public ClinicalBit merge(ClinicalBit detachedInstance) {
		log.debug("merging ClinicalBit instance");
		try {
			ClinicalBit result = (ClinicalBit) getHibernateTemplate().merge(
					detachedInstance);
			log.debug("merge successful");
			return result;
		} catch (RuntimeException re) {
			log.error("merge failed", re);
			throw re;
		}
	}

	public void attachDirty(ClinicalBit instance) {
		log.debug("attaching dirty ClinicalBit instance");
		try {
			getHibernateTemplate().saveOrUpdate(instance);
			log.debug("attach successful");
		} catch (RuntimeException re) {
			log.error("attach failed", re);
			throw re;
		}
	}

	public void attachClean(ClinicalBit instance) {
		log.debug("attaching clean ClinicalBit instance");
		try {
			getHibernateTemplate().lock(instance, LockMode.NONE);
			log.debug("attach successful");
		} catch (RuntimeException re) {
			log.error("attach failed", re);
			throw re;
		}
	}

	public static ClinicalBitDAO getFromApplicationContext(
			ApplicationContext ctx) {
		return (ClinicalBitDAO) ctx.getBean("ClinicalBitDAO");
	}
}